how to write animation in matplotlib

visit shbcf.ru